from flask import Flask, render_template
from markupsafe import escape

app = Flask(__name__)


@app.route("/<name>")
def hello_world(name):
    return f"<h1>hello,{escape(name)}!</h1>"


@app.route("/")
def index():
    return render_template("index.html")
